package com.bio.entity.news;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.bio.entity.attachemnt.BaseObjectAttachment;

@Entity
@Table(name = "table_news_news")
public class News extends BaseObjectAttachment{

	private static final long serialVersionUID = -2191632555078540588L;

	/**
	 * 发布者名称
	 */
	private String publisherName;
	
	/**
	 * 发布者ID
	 */
	private Long publisherId;
	
	/**
	 * 标题
	 */
	private String title;
	
	/**
	 * 类型
	 */
	private int type;
	
	/**
	 * 简述
	 */
	private String brief;
	
	/**
	 * 信息正文
	 */
	private String content;

	@Column(name="publicher_name")
	public String getPublisherName() {
		return publisherName;
	}

	public void setPublisherName(String publisherName) {
		this.publisherName = publisherName;
	}

	@Column(name="publicher_id")
	public Long getPublisherId() {
		return publisherId;
	}

	public void setPublisherId(Long publisherId) {
		this.publisherId = publisherId;
	}

	@Column(name="title")
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	@Column(name="type")
	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	@Column(name="brief")
	public String getBrief() {
		return brief;
	}

	public void setBrief(String brief) {
		this.brief = brief;
	}

	@Column(name="content")
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
}
